package com.tddx.activiti.business.sys.entity.systuser;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import org.hibernate.annotations.Where;

import com.tddx.activiti.base.BaseEntity;

@Entity
@Table(name="SYS_T_USER",
uniqueConstraints = {@UniqueConstraint(columnNames={"VC_DEL", "VC_USERNAME"})})
@Where(clause="VC_DEL='0'") 
public class SysTuserEntity extends BaseEntity{
	
	private static final long serialVersionUID = 1L;

	@Column(name="VC_NAME", length=40)
	private String vcName;

	@Column(name="VC_USERNAME", length=20)
	private String vcUsername;

	@Column(name="VC_PASS", length=20)
	private String vcPass;

	@Column(name="VC_PHONE", length=11)
	private String vcPhone;
	
	@Column(name="VC_EMAIL", length=50)
	private String vcEmail;

	public String getVcName() {
		return vcName;
	}

	public void setVcName(String vcName) {
		this.vcName = vcName;
	}

	public String getVcUsername() {
		return vcUsername;
	}

	public void setVcUsername(String vcUsername) {
		this.vcUsername = vcUsername;
	}

	public String getVcPass() {
		return vcPass;
	}

	public void setVcPass(String vcPass) {
		this.vcPass = vcPass;
	}

	public String getVcPhone() {
		return vcPhone;
	}

	public void setVcPhone(String vcPhone) {
		this.vcPhone = vcPhone;
	}

	public String getVcEmail() {
		return vcEmail;
	}

	public void setVcEmail(String vcEmail) {
		this.vcEmail = vcEmail;
	}
	
}
